Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Selected document and widget
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Customization
Platform: ALL
Release: 8.5.1
Reproducible: Always

Hi, I'm new on the Lotus Notes platform and I wish to develop a widget on the sidebar reacting on different selected object.

My needs :
I want a widget on the sidebar which reacts on document focus to display :
- Contact information when the user click or open a Contact Document
- Sender information whent the user click or open an Email Document.
- Do a research on a overline a word or a sentence with a item in the context menu (right click)

What I have :
- I can update a widget (now a web browser) on the sidebar when the focus change
- I can add an item in the context menu when an item is overline and add an action to update a widget on the sidebar

My problems :
- When I use the added item in the context menu I have an IStructuredSelection object but can't get the selected text. How to do this?
- When the focus change, I have NotesDocumentSummary or com.ibm.csi.types.DocumentSummary object (when clicking on a Contact in the AddressBook or when I select an Email in my Inbox folder). How can I extract the email address and Firstname and Lastname ( the From header for Email) ?

Thanks for your help.


Fabrice


Feedback number WEBB7YTCF7 created by ~Sanjay Frojumitexader on 12/17/2009

Status: Open
Comments:

Selected document and widget (~Sanjay Frojumi... 17.Dec.09)
. . Try Our Notes Java UI APIs (~Wei Rejipyberg... 17.Dec.09)
. . . . Good Info.. (~Arnold Prewema... 18.Dec.09)
. . . . . . Lotus Expeditor (~Wei Rejipyberg... 22.Jan.10)
. . . . Thanks (~Sanjay Frojumi... 21.Dec.09)
. . . . . . NotesUIWorspace isn't always here..... (~Sanjay Frojumi... 22.Dec.09)
. . . . . . . . Your Right (~Wei Rejipyberg... 22.Jan.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS